<?php

$data = Mage::getSingleton('customer/session')->getPaymentmailData();  
$info = array(
    'bank_bransfer'=>'Bank Transfer Form',
    'western_union'=>'Western union form',
    'moneygram'=>'MoneyGram Form'
    );
?>
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
<?php if(isset($data['form_type'])): 
Mage::getSingleton('customer/session')->setPaymentmailData(NULL); 
?>
<div class="page-title">
    <h1><?php echo $info[$data['form_type']]?></h1>
</div>
    <div class="fieldset">
        <h2 class="legend">
        Thank You. We will process your order as soon as possible!
       </h2>
        
</div>
<?php else:?>
<div class="page-title">
    <h1>Payment</h1>
</div>
    <div class="fieldset">
       <h2 class="legend">
       Shopping Help :  <a href="<?php echo $this->getUrl('');?>wholesale-payment-info.html"> Payment methods</a>
       </h2>
        
</div>
<?php endif;?>

